/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.homullus;

import java.awt.Dimension;
import java.awt.FlowLayout;
import javax.swing.JPanel;
import javax.swing.JLabel;

/**
 *
 * @author Gary
 */
public class PoseControlHeading  extends JPanel
{
    private FlowLayout layout;
    private JLabel pitchLabel;
    private JLabel yawLabel;
    private JLabel roleLabel;

    public PoseControlHeading()
    {
        init();
    }

    private void init()
    {
        layout = new FlowLayout(layout.LEFT);
        pitchLabel = new JLabel("Pitch");
        pitchLabel.setPreferredSize(new Dimension(120, 25));
        pitchLabel.setHorizontalAlignment(JLabel.RIGHT);
        //pitchLabel.setHorizontalTextPosition(JLabel.LEFT);
        yawLabel = new JLabel("Yaw");
        yawLabel.setPreferredSize(new Dimension(90, 25));
        yawLabel.setHorizontalAlignment(JLabel.RIGHT);
        //yawLabel.setHorizontalTextPosition(JLabel.LEFT);
        roleLabel = new JLabel("Role");
        roleLabel.setPreferredSize(new Dimension(90, 25));
        roleLabel.setHorizontalAlignment(JLabel.RIGHT);
        //roleLabel.setHorizontalTextPosition(JLabel.LEFT);

        add(pitchLabel);
        add(yawLabel);
        add(roleLabel);
    }
}
